package example.demo.service;



import example.demo.bean.Employee;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;


public interface IEmployeeService {
    void add(@Valid Employee employee);

    @NotNull Employee getById(@NotNull Integer id);
}
